#include "GraphAL.c"

int main() {
    // 有向图
    ALGraph G;
    
    // 4 个顶点
    int vertexNum = 4;
    char* vertices[4] = {"v1", "v2", "v3", "v4"};

    // 4 条边
    int edgeNum = 4;
    char* edges[4][2] = {
        {"v1", "v2"},
        {"v1", "v3"},
        {"v3", "v4"},
        {"v4", "v1"}
    };

    InitGraphAL(&G, true, vertexNum, vertices, edgeNum, edges);

    PrintGraphAL(&G);

    DestroyGraphAL(&G);
}